package singleton;

/**
 * 饿汉式
 *
 * @author 若雨成霜
 */
public class SingletonType3 {

    private static final SingletonType3 instance3 = new SingletonType3();

    private SingletonType3() {
    }

    public static SingletonType3 getInstance() {
        return instance3;
    }
}
